package com.open.capacity.task.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class TaskReplyAndComment implements Serializable {
    @JsonSerialize(using= ToStringSerializer.class)
    private Long tkcode; //任务编码

    @JsonSerialize(using= ToStringSerializer.class)
    private Long userid; //用户id

    @JsonSerialize(using= ToStringSerializer.class)
    private Long loguse; // 登录用户的id

    private Integer toorid; //任务留言表id

    private Long ptoid; //父级评论id

    private String taskid; //任务id

    private Integer repuid; //被回复的任务id

    private Long reusid; //被回复的留言用户ID

    private String repcon; // 用户留言内容

    private String reflex; //回复内容

    private Data cretim; //创建时间

    private Integer pranum; // 点赞数量
}
